﻿<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8"/>
    <title>云协作平台</title>
    <link rel="shortcut icon" th:href="@{/images/Logo_40.png}" type="image/x-icon">
    <!-- layui.css -->
    <link th:href="@{/plugin/layui/css/layui.css}" rel="stylesheet"/>
    <!-- font-awesome.css -->
    <link th:href="@{/plugin/font-awesome/css/font-awesome.min.css}" rel="stylesheet"/>
    <!-- animate.css -->
    <link th:href="@{/css/animate.min.css}" rel="stylesheet"/>
    <!-- 本页样式 -->
    <link th:href="@{/css/mainuser.css}" rel="stylesheet"/>
    <script th:src="@{/js/jquery-2.2.4.min.js}"></script>
    <script th:src="@{/js/workutil.js}"></script>
    <script th:src="@{/plugin/layui/layui.js}"></script>
    <style>
        #layer-msg{
            padding: 0px!important;
        }
    </style>
</head>
<body class="layui-layout-body">
<div class="layui-row">
    <input type="hidden" id="id" th:value="${id}">
    <div class="content detail" style="padding: 5px;">
        <div class="fly-panel detail-box">
            <h1 id="show-title" style="text-align: center;"></h1>
        </div>
        <div class="fly-detail-info" id="show-info" style="color: #ccc;">
        </div>
        <div class="detail-body " id="show-content" style="padding: 10px 0;">
        </div>
    </div>
</div>
<script type="text/javascript">
    var id = $("#id").val();
    workUtils.ajaxGet("../../note/getshare/" + id,{}, function (data) {
        console.log(data)
        $("#show-title").html(data.name);
        $("#show-content").html(data.content);
        $("#show-info").html(workUtils.toDate(data.created, 'yyyy-MM-dd hh:mm'));
    });
</script>
</body>
</html>